Skip to content

Fix textfilecontent54_probe behaviour (forward port to main branch)#2213

Merged
evgenyz merged 3 commits intoOpenSCAP:mainfrom
Xeicker:fix_file_probe_main
Mar 25, 2025
Merged

Fix textfilecontent54_probe behaviour (forward port to main branch)#2213
evgenyz merged 3 commits intoOpenSCAP:mainfrom
Xeicker:fix_file_probe_main

Conversation

@Xeicker
Copy link
Copy Markdown
Contributor

@Xeicker Xeicker commented Mar 25, 2025

Forward port to main branch #2210

Edgar Aguilar and others added 3 commits March 25, 2025 10:33
According to OVAL docs the 'instance' tag should be able to take
negative numbers. And these negative numbers should count from the last
element matched. This is was not the case in oscap implementation

Signed-off-by: Edgar Aguilar <edgar.aguilar@oracle.com>
Validate behaviour with negative instance

Signed-off-by: Edgar Aguilar <edgar.aguilar@oracle.com>
Co-authored-by: Evgeny Kolesnikov <evgenyz@gmail.com>
@evgenyz
Copy link
Copy Markdown
Contributor

evgenyz commented Mar 25, 2025

Thanks!

@evgenyz evgenyz merged commit a954d9d into OpenSCAP:main Mar 25, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants